<#--
List of variables to be passed for this template:
        +- rootPackage
        +- applicationName
        +- classNames
        +- directory
        +- Entities: ArrayList of EntityClass.getAsMap()

            |
            +- imports: imports
            |
            +- name: The name of the class.
            |    |
            |    +- single
            |    +- plural
            |
            +- idColumn: the id column
            |    |
            |    +- field
            |    |    |
            |    |    +- name
            |    |    +- type
            |    |
            |    +- getter
            |    +- setter
            |
            +- columns: ArrayList of columns
            |    |
            |    +- field
            |    +- getter
            |    +- setter

-->
<@pp.dropOutputFile />

<@pp.changeOutputFile name="/development/${directory}/apis/rest/${applicationName?cap_first}Application.java" />

package ${rootPackage}.${applicationName}.apis.rest;

import org.restlet.ext.jaxrs.JaxRsApplication;

public class ${applicationName?cap_first}Application extends JaxRsApplication{

    public ${applicationName?cap_first}Application() {
        super();
        this.add(new ${applicationName?cap_first}ApplicationConfig());
    }
}
